function [ means ] = getMean(direc)
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
pathpath = strcat(direc,'/results/results_White*.csv');
files = dir(pathpath);
allRatios = zeros(101,0);
for k = 1:numel(files)
   M = csvread(strcat(direc, '/results/', files(k).name));
   sum = M * [1; 1; 1];
   score = M * [1; 0.5; 0];
   ratios = score ./ sum;
   allRatios = [allRatios ratios];
end
means = mean(allRatios,2);
std_error = std(allRatios,0,2) / sqrt(size(allRatios,2));
best = max(means);
error = std_error(find(means == best, 1, 'first'));
fprintf('$ %.3f %s %.3f $ \n', best, '\pm', error)

end

